<?
$bReturnAbsolute=false;

$sBaseVirtual0="http://" . HOST_DOMAIN_NAME . ROOT_WS . "uploads/" ;  //Assuming that the path is http://yourserver/Editor/assets/ ("Relative to Root" Path is required)
//$sBase0="D:/Data/Source Code/_htmlarea_pro/cn700_InnovaStudioWYSIWYGEditorv2.3/assets/"; //The real path
//$sBase0="/home/yourserver/web/Editor/assets"; //example for Unix server
$sBase0=ROOT_FS."uploads/"; //example for Unix server
$sName0="uploads/";

$sBaseRoot0=ereg_replace($sBaseVirtual0,"",$sBase0); //output: "c:/inetpub/wwwroot"
/*
echo "sBaseVirtual0: $sBaseVirtual0<br>";
echo "sName0: $sName0<br>";
echo "sBase0: $sBase0<br>";
echo "sBaseRoot0: $sBaseRoot0<br>";
//*/


$sBaseVirtual1="";
$sBase1="";
$sName1="";

$sBaseVirtual2="";
$sBase2="";
$sName2="";

$sBaseVirtual3="";
$sBase3="";
$sName3="";
?>